﻿/* =====================================================================================================
* FileName: AsyncMessageHandleArgs            
* Created By: 马志
* Created Date: 2015年12月16日
* Email：hautmz@163.com
* Modified By:
* Modified Date:
* Copyright (c) 2010 - 2015 北京其乐融融科技有限公司
* ===================================================================================================== */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PluginBase.Sockets
{
    public class AsyncMessageHandleArgs<T> where T : class
    {
        #region 变量

        private T _msg;
        private AsyncSocketConnect<T> _asyncSocketConnect;

        #endregion

        #region 构造

        public AsyncMessageHandleArgs(AsyncSocketConnect<T> asyncSocketConnect, T msg)
        {
            _msg = msg;
            _asyncSocketConnect = asyncSocketConnect;
        }

        #endregion

        #region 属性

        public T Msg
        {
            get { return _msg; }

        }

        public AsyncSocketConnect<T> AsyncSocketConnect
        {
            get { return _asyncSocketConnect; }
        }

        #endregion
    }
}